﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using eKanbanWPF.View;
using eKanbanWPF.Model;

namespace eKanbanWPF
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
	{
        KanbanBoard data = new KanbanBoard("Backlog", "Done");

        List<MemberGUI> memberGUIs = new List<MemberGUI>();
		public MainWindow()
		{
			this.InitializeComponent();

			// Insert code required on object creation below this point.
		}

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            MemberGUI mUI = new MemberGUI();
            Member m = data.DefineNewMember("New member", true, "");
            m.Left = 15;
            m.Top = 15;
            mUI.Member = m;
            LayoutRoot.Children.Add(mUI);
        }
	}
}